package com.xuecheng.manager_cms_client;

import com.mongodb.MongoClient;
import com.mongodb.client.gridfs.GridFSBucket;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EntityScan("com.xuecheng.framework.domain.cms")//扫描实体类
@ComponentScan(basePackages = {"com.xuecheng.framework"})
@ComponentScan(basePackages = {"com.xuecheng.manager_cms_client"})
public class ManagerCmsClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManagerCmsClientApplication.class,args);


    }
}
